#ifndef _ADC_H
#define _ADC_H

#include "stm32f0xx_rcc.h"
#include "stm32f0xx_gpio.h"
#include "stm32f0xx_adc.h"

void adc_init();
void adc_stop();

uint16_t get_adc_val(uint8_t ch);//获取ADC值
uint32_t ADC_Check(void);

#endif